<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title>意见反馈</title>
		<link rel="stylesheet" type="text/css" href="../../css/aui-win.css" />
		<style type="text/css">
			textarea{
				width: 86%;
				height: 300px;
				display: block;
				padding:5%;
				outline: none;
				border:1px solid red;
				margin-left:2%;
			}
			input{
				width: 80%;
				height: 30px;
				margin:20px 0 0 10%;
				background:#00abfd;
				color: white;
				font-size: 1rem;
				border-radius: 5px;
				border: none;
			}
			#sp1{
				position: absolute;
				left: 5px;
				display:block;

			}
		</style>
	</head>
	<body>
	<header class="aui-bar aui-bar-nav aui-bar-yunzo" id="aui-header">
		<a class="aui-btn aui-bar-yunzo aui-pull-left" id="back" onclick="back_go()"> <span class="aui-iconfont aui-icon-left"></span></a>
		<div class="aui-title" id="title">
			意见反馈
		</div>
		<a class="aui-iconfont aui-icon-menu aui-pull-right"></a>
	</header>
	<div class="margin_div"></div>
		<p>感谢您对我们产品的支持和理解，我们将竭尽全力的满足您的要求。</p>
			<textarea id="tTarea">
			
			</textarea>
			<input type="button" value="提交" id="subMit">
    <!--加载loading功能-->
    <div id="loadIng_startStop" style="width: 100%;height: 100%;position: absolute;z-index: 1000;display: none;">
    	<div class="div_loding_img">
		数据加载中
		</div>
    </div>
    </body>
	<script type="text/javascript" src="../../script/jquery-1.10.2.min.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>
	<script type="text/javascript">
        
		function rec(){
			window.history.go(-1);
		}

	    $(document).ready(function(){
		$("#subMit").click(function(){
			var feedback=$('#tTarea').val();
			var bodyparam={"mid":$mid,"groupid":$groupid,"did":initdata.get('mysetinfo'),"feedback":feedback};
			ajaxCoCRequest('../../../api/feedback','POST',bodyparam,function(msg){
				if(msg.code==100){
					var mymessage=confirm("操作成功，继续反馈请点是");
					if(mymessage==true){
						$('#tTarea').val("");
					}
					else{
						rec();
					}
				}else
				{
					$("body").append('<div class="wuwang"><img src="../../image/iconfont-wangluo.png"><p>网络拥堵，信息塞车</p></div>')
				}
				
			});
			
		})

	})

        sTart_Stop();
	</script>
</html>